import * as http from '@/utils/request'

const LINK_BASE_URL = '/link'

/** 分类相关请求 */
const LinkApi = {
  getLinkList: () => {
    return http.getList<LinkVo>(`${LINK_BASE_URL}/getAllLink`)
  },
}

export default LinkApi

/** 响应参数 */
export interface LinkVo {
  address?: string

  description?: string

  id?: string

  logo?: string

  name?: string
}
